<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
      <head>
        <title>选课完毕</title>
        <link rel="stylesheet" th:href="@{/styles.css}" />
    </head>
<body>
	<h1 >选课结果</h1>
	<button><a th:href="@{/}">返回主页面</a></button>
	<table >
	<div th:each="personal:${personals}">
			<tr>
				<td>学号：</td>
				<td><span th:text="${personal.SId}">Course</span><br></td>
			</tr>
			<tr>
				<td>学生姓名：</td>
				<td><span th:text="${personal.name}">Course</span><br></td>
			</tr>
			<tr>
				<td>班级：</td>
				<td><span th:text="${personal.college}">Course</span><br></td>
			</tr>
			<tr>
				<td>学院：</td>
				<td><span th:text="${personal.Grade}">Course</span><br></td>
			</tr>
			<tr>
				<td>已选课程：</td>
				<td th:each="selection:${personal.selections}">
					<span th:each="CourseAttribute:${selection.CourseAttributes}">
						<span th:text="${CourseAttribute.name}">无</span><br>
					</span>
				</td>
			</tr>

	</div>
	</table>

</body>